﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <asp:ValidationSummary ID="ValidationSummary" runat="server" 
        HeaderText="Wrong Username and/or Password." ValidationGroup="eval"></asp:ValidationSummary>

    <asp:ValidationSummary ID="ValidationSummary2" runat="server"
        HeaderText="An Error Has Occured, Please Fix It And Try Again" CssClass="LoginVal"></asp:ValidationSummary>



    <div>
    <asp:Label ID="UsernameLabel" runat="server" Text="Username"></asp:Label>
    <input id="Username" type="text" runat="server" />
    
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  Display="Dynamic" ErrorMessage="Enter Username!"
        ValidationGroup="eval" ControlToValidate="Username" >*</asp:RequiredFieldValidator>
    </div>
    
    <div>
    <asp:Label ID="PasswordLabel" runat="server" Text="Password"></asp:Label>
    <input id="Password" type="password" runat="server"/>

    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Dynamic" ErrorMessage="Enter Password!"
        ValidationGroup="eval" ControlToValidate="Password">*</asp:RequiredFieldValidator>
    



    </div>
    <asp:LinkButton ID="LoginButton" runat="server"
        ValidationGroup="eval" CssClass="loginButton" OnClick="LoginButton_Click">Sign In</asp:LinkButton>
    
    <asp:HyperLink runat="server" NavigateUrl="~/Register.aspx">Register</asp:HyperLink>
</asp:Content>

